﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using System.Text.RegularExpressions;
using System.Windows.Controls;
using System.Globalization;

namespace PIT.Labs.ProjectRepository.OntologyFeature
{
    class OntologyDataFieldValidationRule : ValidationRule
    {
        public override ValidationResult Validate(object value, CultureInfo cultureInfo)
        {
            return new ValidationResult(true, "good");
            // TODO: Check validation method
            /*if (value.ToString() != "23") return new ValidationResult(true, "good");

            return new ValidationResult(false, "not 42!");*/
        }
    }
}
